ServerConnection

Undocumented in source.

Constructors

this
this(TcpStream socket)
Undocumented in source.

Members

Functions

active
bool active()
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
isAlive
bool isAlive()
Undocumented in source. Be warned that the author may not have intended to support it.
onActive
void onActive()
Undocumented in source.
onClose
void onClose()
Undocumented in source.
onRead
void onRead(ubyte[] data)
Undocumented in source.
resetSocket
void resetSocket(TcpStream socket)
Undocumented in source. Be warned that the author may not have intended to support it.
restTimeout
void restTimeout()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(ubyte[] data, DataWrittenHandler cback)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(StreamWriteBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

tcpStream
TcpStream tcpStream [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From WheelTimer

~this
~this()
Undocumented in source.
onTimeOut
void onTimeOut()

the function will be called when the timer timeout.

rest
void rest(size_t next)

rest the timer.

stop
void stop()

stop the time, it will remove from Wheel.

isActive
bool isActive()

the time is active.

oneShop
oneShop [@property getter]

get the timer only run once.

oneShop
bool oneShop [@property setter]

set the timer only run once.

Meta